% Pour pouvoir l'éditer
\providecommand{\VarRectoVerso}{twoside}

%\newcommand{\Recto}{\renewcommand{\VarRectoVerso}{oneside}}
%\newcommand{\RectoVerso}{\renewcommand{\VarRectoVerso}{twoside}}

% Là, vrai début
\documentclass[french,12pt,openright,\VarRectoVerso]{report}

\usepackage{../customtitlepage}

%\usepackage{hyperref,wasysym}
%\usepackage{../cr}


\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{fullpage}
\usepackage{lmodern}
\usepackage{graphicx}
\usepackage{verbatim}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{wrapfig}
%\usepackage{url}
\usepackage{enumerate}
\usepackage{subfigure}
\usepackage{hyperref}
\usepackage{listings}
\hypersetup{
    colorlinks,%
    citecolor=black,%
    filecolor=black,%
    linkcolor=black,%
    urlcolor=black
}

\usepackage{xspace}
\usepackage{array}


\usepackage{color}
\definecolor{lightgrey}{rgb}{0.97,0.97,0.97}
\definecolor{grey}{rgb}{0.5,0.5,0.5}
\definecolor{darkgrey}{rgb}{0.3,0.3,0.3}

% Pour faire de jolis listings (mais chiant de compiler)
%\usepackage{minted}
%\newminted{cpp}{fontsize=\footnotesize, bgcolor=lightgrey}
%\newminted{xml}{fontsize=\footnotesize, bgcolor=lightgrey}
%\usemintedstyle{friendly}

\usepackage{listings}
\usepackage{listingsutf8}
\lstloadlanguages{xml}
\lstdefinestyle{listing}{
  captionpos=t,
  inputencoding=utf8/latin1,
  extendedchars=true,
  numbers=left,
  numberstyle=\tiny,
  numbersep=5pt,
  breaklines=true,
  breakatwhitespace=true,
  showspaces=false,
  showstringspaces=false,
  showtabs=false,
  tabsize=2,
  basicstyle=\footnotesize\ttfamily,
  backgroundcolor=\color{lightgrey},
  keywordstyle=\color{darkgrey}\bfseries,
  commentstyle=\color{grey},
  identifierstyle=\color{black},
  stringstyle=\color{darkgrey},
  numberstyle=\color{grey},
}
\lstset{style=listing}

% Numérotation des subsub
    \setcounter{tocdepth}{1}
%\setcounter{tocdepth}{3}


%\usepackage{moreverb} %pour utiliser plus de fonctions de verbatim
\newcommand{\ajoutTocChapter}[1]{\addcontentsline{toc}{chapter}{#1}}
\newcommand{\chapterEt}[1]{\chapter*{#1}\addcontentsline{toc}{chapter}{#1}}
%\newcommand{\chapterEt}[1]{\chapter*{#1}\ajoutTocChapter{#1}}
%\newcommand{\sectionEt}[1]{\section*{#1}\addcontentsline{toc}{section}{#1}}

% Pour que le rapport de pré-étude compile
\newcommand{\tool}[1]{}
